<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Demo</title>

</head>
<body>
<div id="codeDemo"></div>
<style id="demo"></style>
<div id="buttons">
    <button id="btnReturn">返回</button>
    <button id="btnPause">暂停</button>
    <button id="btnPlay">播放</button>
    <button id="btnSlow">慢速</button>
    <button id="btnNormal">中速</button>
    <button id="btnFast">快速</button>
    <button id="btnReplay">重播</button>
</div>
<style>
    * {
        box-sizing: border-box;
    }

    *::before, *::after {
        box-sizing: border-box;
    }

    #buttons {
        position: fixed;
        right: 0;
        top: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        margin-right: 10px;
    }

    #buttons > button {
        margin-bottom: 10px;
        padding: 4px 8px;
    }

    #demo {
        display: none;
    }

    #codeDemo {
        position: fixed;
        height: 50vh;
        top: 0;
        left: 0;
        width: 100%;
        border: 1px solid red;
        overflow-y: auto;
    }

    #codeDemo::-webkit-scrollbar {
        display: none; /* Chrome Safari */
    }

    #html {
        position: fixed;
        border: 1px solid black;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50vh;
    }
</style>
<div id="html">
    <div class="skin">
        <div class="eye left"></div>
        <div class="eye right"></div>
        <div class="nose">
            <div class="yuan"></div>
        </div>

        <div class="face left"></div>
        <div class="face right"></div>
        <div class="mouth">
            <div class="up">
                <div class="lip left"></div>
                <div class="lip right"></div>
            </div>
            <div class="down">
                <div class="yuan1">
                    <div class="yuan2"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="module" src="dynamic.js"></script>
</body>
</html>